package com.tidc.seaservermodel.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (Task)实体类
 *
 * @author makejava
 * @since 2020-09-12 16:37:26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Task implements Serializable {
    private static final long serialVersionUID = -80054214988582065L;
    
    private Integer id;
    @NotNull(message = "名字不能为空")
    private String name;
    /**
    * 日常和一次性
    */
    @NotNull(message = "任务分类不能空")
    private Integer typeClassify;
    
    private String introduce;
    
    private Integer prepositionLevel;
    
    private Integer awardLevel;
    
    private Integer awardMoney;
    /**
    * 一级确认或者二级确认
    */
    @NotNull(message = "确认方式不能为空")
    private Integer accomplishType;
    
    private Integer punishmentMoney;
    
    private Integer punishmentLevel;
    
    private Integer userId;
    
    private Timestamp createTime;

    private Integer limitTime;
    private Timestamp limitDate;

    private Timestamp receiveCreateTime;

    private Timestamp receiveFinishTime;

    private Integer utId;
    private Integer isDelete;
    private String filePath;

}